package io.mybatis.example.springboot.model;

import io.mybatis.provider.Entity;
import org.apache.ibatis.type.JdbcType;

import lombok.Getter;
import lombok.Setter;


/**
 * QRTZ_FIRED_TRIGGERS - 已触发的触发器表
 *
 * @author mkj
 */
@Getter
@Setter
@Entity.Table("QRTZ_FIRED_TRIGGERS" remark = "已触发的触发器表", autoResultMap = true)
public class QrtzFiredTriggersDO {
  @Entity.Column(value = "sched_name", id = true, remark = "调度名称", updatable = false, insertable = false)
  private String schedName;

  @Entity.Column(value = "entry_id", id = true, remark = "调度器实例id", updatable = false, insertable = false)
  private String entryId;

  @Entity.Column(value = "trigger_name", remark = "qrtz_triggers表trigger_name的外键")
  private String triggerName;

  @Entity.Column(value = "trigger_group", remark = "qrtz_triggers表trigger_group的外键")
  private String triggerGroup;

  @Entity.Column(value = "instance_name", remark = "调度器实例名")
  private String instanceName;

  @Entity.Column(value = "fired_time", remark = "触发的时间")
  private Long firedTime;

  @Entity.Column(value = "sched_time", remark = "定时器制定的时间")
  private Long schedTime;

  @Entity.Column(value = "priority", remark = "优先级")
  private Integer priority;

  @Entity.Column(value = "state", remark = "状态")
  private String state;

  @Entity.Column(value = "job_name", remark = "任务名称")
  private String jobName;

  @Entity.Column(value = "job_group", remark = "任务组名")
  private String jobGroup;

  @Entity.Column(value = "is_nonconcurrent", remark = "是否并发")
  private String isNonconcurrent;

  @Entity.Column(value = "requests_recovery", remark = "是否接受恢复执行")
  private String requestsRecovery;

}
